﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace EComponentsTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            for (int i = 0; i < 5; i++)
                eListBox1.Add("Строка " + i.ToString("00"));
            Text = DisplayRectangle.Bottom.ToString();
        }

        private void eListBox1_DoubleClick(object sender, EventArgs e)
        {
            MessageBox.Show("123");
        }

        ESpace.FormEditValue frmEdit = new ESpace.FormEditValue();
        private void button1_Click(object sender, EventArgs e)
        {
            if (frmEdit.ShowDialog(0, true, 0, 10))
            {
                int n = (int)frmEdit.Value;
                MessageBox.Show(n.ToString());
            }
        }
    }
}
